home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / Borland Visual dBASE Professiona v7.0 / DATA1.CAB / Sample_Include / Win32api.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-11-20  |  2.1 KB  |  83 lines

  1. //--------------------------------------------------------------
  2. //
  3. //  WIN32API.H 
  4. //
  5. //  This header file contains Windows API type and 
  6. //  constant declarations for calls to the Win32 API 
  7. //  from Visual dBASE. Function prototypes are in 
  8. //  WIN32API.PRG.
  9. // 
  10. //  Dependencies: WINNT.H
  11. //                WINBASE.H
  12. //                WINGDI.H
  13. //                WINUSER.H
  14. //                WINMISC.H
  15. //                WINREG.H             
  16. //                WIN32API.PRG
  17. //
  18. //  Visual dBASE Samples Group
  19. //
  20. //  $Revision:   1.3  $
  21. //
  22. //  Copyright (c) 1997, Borland International, Inc. 
  23. //  All rights reserved.
  24. //
  25. //---------------------------------------------------------------
  26.  
  27. #ifndef WIN32API_H
  28.    #define WIN32API_H
  29.  
  30.    #include <WINDEF.H>
  31.  
  32.    //
  33.    //  SECTION INCLUSION.
  34.    //
  35.    //
  36.    //  These can be used to include one or more header files or 
  37.    //  sections of header files. 
  38.    //
  39.    //  Note: Do to compilation restrictions, not all header
  40.    //  files can be included in a single source file.
  41.    //
  42.    //
  43.    //  WIN32API_MESSAGES_H    -  Include messaging constants
  44.    //                            in WINUSER.H
  45.    //  WIN32API_MISC_H        -  Include the WINMISC.H file
  46.    //  WIN32API_BASE_H        -  Include the WINBASE.H file
  47.    //  WIN32API_GDI_H         -  Include the WINGDI.H file
  48.    //  WIN32API_NT_H          -  Include the WINNT.H file
  49.    //  WIN32API_REG_H         -  Include the WINREG.H file
  50.    //  WIN32API_USER_H        -  Include the WINUSER.H file
  51.    //
  52.    //  
  53.  
  54.  
  55.    #ifdef WIN32API_NT_H
  56.       #include <WINNT.H>
  57.    #else
  58.       // WINNT.H and WINREG.H are mutually exclusive
  59.       #ifdef WIN32API_REG_H
  60.           #include <WINREG.H>
  61.       #endif
  62.    #endif
  63.  
  64.  
  65.    #ifdef WIN32API_BASE_H
  66.       #include <WINBASE.H>
  67.    #endif
  68.  
  69.    #ifdef WIN32API_GDI_H
  70.       #include <WINGDI.H>
  71.    #endif
  72.    
  73.    #ifdef WIN32API_USER_H
  74.       #include <WINUSER.H>
  75.    #endif
  76.  
  77.    #ifndef WIN32API_MISC_H
  78.       #include <WINMISC.H>
  79.    #endif
  80.    DO ( _dbwinhome + "\INCLUDE\WIN32API.PRG" )
  81.  
  82. #endif // WIN32API_H
  83.